package com.bsoft.hospitalchs.model;

/**
 * Created by 泅渡者
 * Created on 2017/5/31.
 */

public class PicResBean {

    /**
     * body : {"webPath":"mobile/1496199200186.png","path":"D:\\phis\\apache-tomcat-7.0.53\\webapps\\phis\\mobile\\1496199200186.png","fileName":"1496199200186.png"}
     * code : 200
     * msg : Success
     */

    private BodyBean body;
    private int code;
    private String msg;

    public PicResBean() {
    }

    public PicResBean(BodyBean body, int code, String msg) {
        this.body = body;
        this.code = code;
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class BodyBean {
        /**
         * webPath : mobile/1496199200186.png
         * path : D:\phis\apache-tomcat-7.0.53\webapps\phis\mobile\1496199200186.png
         * fileName : 1496199200186.png
         */

        private String webPath;
        private String path;
        private String fileName;

        public BodyBean() {
        }

        public BodyBean(String webPath, String path, String fileName) {
            this.webPath = webPath;
            this.path = path;
            this.fileName = fileName;
        }

        public String getWebPath() {
            return webPath;
        }

        public void setWebPath(String webPath) {
            this.webPath = webPath;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public String getFileName() {
            return fileName;
        }

        public void setFileName(String fileName) {
            this.fileName = fileName;
        }

        @Override
        public String toString() {
            return "BodyBean{" +
                    "webPath='" + webPath + '\'' +
                    ", path='" + path + '\'' +
                    ", fileName='" + fileName + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "PicResBean{" +
                "body=" + body +
                ", code=" + code +
                ", msg='" + msg + '\'' +
                '}';
    }
}
